home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX 6.2 Development Libraries
/
SGI IRIX 6.2 Development Libraries.iso
/
dist
/
complib.idb
/
usr
/
share
/
catman
/
p_man
/
cat3
/
complib
/
BQR.z
/
BQR
Wrap
Text File
|
1996-03-14
|
6KB
|
133 lines
____BBBBQQQQRRRR((((3333FFFF)))) ____BBBBQQQQRRRR((((3333FFFF))))
NNNNAAAAMMMMEEEE
BQR, SBQR - EISPACK routine. This subroutine finds the eigenvalue
of smallest (usually) magnitude of a REAL SYMMETRIC BAND matrix using the
QR algorithm with shifts of origin. Consecutive calls can be made to
find further eigenvalues.
SSSSYYYYNNNNOOOOPPPPSSSSYYYYSSSS
ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee bbbbqqqqrrrr((((nnnnmmmm,,,, nnnn,,,, mmmmbbbb,,,, aaaa,,,, tttt,,,, rrrr,,,, iiiieeeerrrrrrrr,,,, nnnnvvvv,,,, rrrrvvvv))))
iiiinnnntttteeeeggggeeeerrrr nnnnmmmm,,,, nnnn,,,, mmmmbbbb,,,, iiiieeeerrrrrrrr,,,, nnnnvvvv
ddddoooouuuubbbblllleeee pppprrrreeeecccciiiissssiiiioooonnnn tttt,,,, rrrr
ddddoooouuuubbbblllleeee pppprrrreeeecccciiiissssiiiioooonnnn aaaa((((nnnnmmmm,,,,mmmmbbbb)))),,,, rrrrvvvv((((nnnnvvvv))))
ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee ssssbbbbqqqqrrrr((((nnnnmmmm,,,, nnnn,,,, mmmmbbbb,,,, aaaa,,,, tttt,,,, rrrr,,,, iiiieeeerrrrrrrr,,,, nnnnvvvv,,,, rrrrvvvv))))
iiiinnnntttteeeeggggeeeerrrr nnnnmmmm,,,, nnnn,,,, mmmmbbbb,,,, iiiieeeerrrrrrrr,,,, nnnnvvvv
rrrreeeeaaaallll tttt,,,, rrrr
rrrreeeeaaaallll aaaa((((nnnnmmmm,,,,mmmmbbbb)))),,,, rrrrvvvv((((nnnnvvvv))))
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
On INPUT
NNNNMMMM must be set to the row dimension of two-dimensional array parameters
as declared in the calling program dimension statement.
NNNN is the order of the matrix.
MMMMBBBB is the (half) band width of the matrix, defined as the number of
adjacent diagonals, including the principal diagonal, required to specify
the non-zero portion of the lower triangle of the matrix.
AAAA contains the lower triangle of the symmetric band input matrix stored
as an N by MB array. Its lowest subdiagonal is stored in the last N+1-MB
positions of the first column, its next subdiagonal in the last N+2-MB
positions of the second column, further subdiagonals similarly, and
finally its principal diagonal in the N positions of the last column.
Contents of storages not part of the matrix are arbitrary. On a
subsequent call, its output contents from the previous call should be
passed.
TTTT specifies the shift (of eigenvalues) applied to the diagonal of A in
forming the input matrix. What is actually determined is the eigenvalue
of A+TI (I is the identity matrix) nearest to T. On a subsequent call,
the output value of T from the previous call should be passed if the next
nearest eigenvalue is sought.
RRRR should be specified as zero on the first call, and as its output value
from the previous call on a subsequent call. It is used to determine
when the last row and column of the transformed band matrix can be
regarded as negligible.
PPPPaaaaggggeeee 1111
____BBBBQQQQRRRR((((3333FFFF)))) ____BBBBQQQQRRRR((((3333FFFF))))
NNNNVVVV must be set to the dimension of the array parameter RV as declared in
the calling program dimension statement. On OUTPUT
AAAA contains the transformed band matrix. The matrix A+TI derived from the
output parameters is similar to the input A+TI to within rounding errors.
Its last row and column are null (if IERR is zero).
TTTT contains the computed eigenvalue of A+TI (if IERR is zero).
RRRR contains the maximum of its input value and the norm of the last column
of the input matrix A.
IIIIEEEERRRRRRRR is set to Zero for normal return, N if the eigenvalue
has not been
determined after 30 iterations.
RRRRVVVV is a temporary storage array of dimension at least (2*MB**2+4*MB-3).
The first (3*MB-2) locations correspond to the ALGOL array B, the next
(2*MB-1) locations correspond to the ALGOL array H, and the final
(2*MB**2-MB) locations correspond to the MB by (2*MB-1) ALGOL array U.
NOTE. For a subsequent call, N should be replaced by N-1, but
MMMMBBBB should not be altered even when it exceeds the current N. Calls
PYTHAG(A,B) for SQRT(A**2 + B**2). Questions and comments should be
directed to B. S. Garbow, Applied Mathematics Division, ARGONNE NATIONAL
LABORATORY
PPPPaaaaggggeeee 2222